import request from '@/utils/request';
export function list(data) {
  return request({
    url: '/dev-api/api/FriendshipLink/list',
    method: 'post',
    data: data,
  });
}
export function del(data) {
  return request({
    url: '/dev-api/api/FriendshipLink/delete',
    method: 'post',
    data: data,
  });
}

export function add(data) {
  return request({
    url: '/dev-api/api/FriendshipLink/saveLink',
    method: 'post',
    data: data,
  });
}

// 付款
export function payMoney(data) {
  return request({
    url: '/dev-api/api/Wxpay/creatWeChatOrder',
    method: 'post',
    data: data,
  });
}
// 订单状态
export function status(data) {
  return request({
    url: '/dev-api/api/Wxpay/orderStatus',
    method: 'post',
    data: data,
  });
}
//生成二维码   /dev-api/api/Wxpay/creatWeChatOrder
export function codeImg(data) {
  return request({
    url: '/dev-api/api/Wxpay/creatWeChatOrder',
    method: 'post',
    data: data,
  });
}
